package com.team.arms.service_management_before.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.team.arms.service_management_before.domain.StudentStatusRetain;
import com.team.arms.service_management_before.domain.vo.StudentStatusRetainVo;
import com.team.arms.service_management_before.service.StudentStatusRetainService;
import com.team.arms.service_management_before.mapper.StudentStatusRetainMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class StudentStatusRetainServiceImpl extends ServiceImpl<StudentStatusRetainMapper, StudentStatusRetain>
    implements StudentStatusRetainService{

    @Autowired
    private StudentStatusRetainMapper studentStatusRetainMapper;
    @Override
    public StudentStatusRetainVo selectById(String id) {
        return studentStatusRetainMapper.selectAllByStudentStatusRetainId(id);
    }

    @Override
    public List<StudentStatusRetainVo> selectByFiled(String field, String content) {
        return studentStatusRetainMapper.selectByFiled(field,content);
    }

    @Override
    public List<StudentStatusRetainVo> selectList() {
        return studentStatusRetainMapper.selectList();
    }
}




